<style>
    td.left {text-align: left;}
    td.right {text-align: right;}
</style>
<div>
    #for(x:weektaskstatistics)
        <div style="margin-top:2em;margin-bottom:2em;">
            <table class="gradienttable" border="1" style="width:100%;line-height:2em;">
                <tr>
                    <th style="width:5em;">ID</th>
                    <th>标题</th>
                    <th style="width:3em;">状态</th>
                    <th style="width:6em;">标签</th>
                    <th style="width:7em;">客户</th>
                    <th style="width:3em;">优先级</th>
                    <th style="width:3em;">处理人</th>
                    <th style="width:6em;">完成时间</th>
                    <th style="width:4em;">预估工时</th>
                    <th style="width:4em;">开发工时</th>
                    <th style="width:4em;">个人效率</th>
                    <th style="width:5em;">小组总工时</th>
                    <th style="width:4em;">小组人数</th>
                    <th style="width:3em;">天数</th>
                    <th style="width:3em;">组效率</th>
                </tr>
                #for(y:weekalltasks)
                    #if(x.xMan==y.xMan)
                        <tr>
                            <td>#(y.xShortID)</td>  <!--超链接-->
                            <td style="text-align:left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 20ch;">#(y.xName)</td> <!--左对齐-->
                            <td>已完成</td>
                            <td>#(y.xLabel)</td>
                            <td>#(y._Cust_Name)</td>
                            <td>#(y.xPriority)</td>
                            <td>#(y.xMan)</td>
                            <td>#date(y.xFinishTime,"MM-dd HH:mm")</td>
                            <td>#(y.xPlanHour)</td>
                            <td>#(y.xHour)</td>
                            <td>&nbsp;</td>
                            <td>&nbsp;</td>
                            <td>&nbsp;</td>
                            <td>&nbsp;</td>
                            <td>&nbsp;</td>
                        </tr>
                    #end
                #end
                
                <tr>
                    <td>&nbsp;</td>
                    <td>&nbsp;</td>
                    <td>&nbsp;</td>
                    <td>&nbsp;</td>
                    <td>&nbsp;</td>
                    <td>&nbsp;</td>
                    <td>&nbsp;</td>
                    <td>&nbsp;</td>
                    <td>&nbsp;</td>
                    <td>&nbsp;</td>
                    <td>&nbsp;</td>
                    <td>&nbsp;</td>
                    <td>&nbsp;</td>
                    <td>&nbsp;</td>
                    <td>&nbsp;</td>
                </tr>
            </table>
        </div>
    #end
</div>



